package com.example.player.mapper;

import com.example.player.entity.Category;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CategoryMapper {

    //添加分类
    Long insert(Category category);

    //删除分类
    Long deleteById(Long id);

    //查询所有分类
    List<Category> selectList ();



}
